package com.settlement.system.model.entity.common;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.HeadFontStyle;
import com.alibaba.excel.annotation.write.style.HeadRowHeight;
import com.alibaba.excel.annotation.write.style.HeadStyle;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.NotBlank;

import java.io.Serializable;
/**
 * RPA钉钉短信过滤配置表
 * @author xiaochuan
 * @since 2021-12-28
 */
@Data
@ExcelIgnoreUnannotated
@HeadStyle(fillBackgroundColor = 9,fillForegroundColor = 9)
@HeadRowHeight(value = 20)
@HeadFontStyle(fontHeightInPoints = 14)
public class TblRpaDtSmsFilter extends BaseModel implements Serializable {


    /**
     * 短信群名称
     */
    @ExcelProperty(value = "短信群名称")
    @ApiModelProperty(value = "短信群名称")
    @NotBlank(message = "短信群名称不能为空")
    private String groupName;

    /**
     * 钉钉机器人token
     */
    @ExcelProperty(value = "钉钉机器人token")
    @ApiModelProperty(value = "钉钉机器人token")
    @NotBlank(message = "钉钉机器人token不能为空")
    private String robotAccessKey;

    /**
     * 钉钉机器人密钥
     */
    @ExcelProperty(value = "钉钉机器人密钥")
    @ApiModelProperty(value = "钉钉机器人密钥")
    @NotBlank(message = "钉钉机器人密钥不能为空")
    private String robotSecretKey;

    /**
     * 规则信息类型：1手机黑名单/2关键字黑名单/3关键字替换/4手机白名单/5关键字白名单
     */
    @ExcelProperty(value = "规则信息类型")
    @ApiModelProperty(value = "规则信息类型 1手机黑名单/2关键字黑名单/3关键字替换/4手机白名单/5关键字白名单")
    private String verifyType;

    /**
     * 手机号
     */
    @ExcelProperty(value = "手机号")
    @ApiModelProperty(value = "手机号")
    private String mobile;

    /**
     * 黑名单关键字
     */
    @ExcelProperty(value = "黑名单关键字")
    @ApiModelProperty(value = "黑名单关键字")
    private String blacknameKeyword;

    /**
     * 匹配关键字
     */
    @ExcelProperty(value = "匹配关键字")
    @ApiModelProperty(value = "匹配关键字")
    private String replaceKeyword;

    /**
     * 替换正则表达式
     */
    @ExcelProperty(value = "替换正则表达式")
    @ApiModelProperty(value = "替换正则表达式")
    private String replaceRegExp;

    /**
     * 替换结果
     */
    @ExcelProperty(value = "替换结果")
    @ApiModelProperty(value = "替换结果")
    private String replaceResult;

    /**
     * 排序
     */
    @ExcelProperty(value = "排序")
    @ApiModelProperty(value = "排序")
    private Long sort;

    /**
     * 父ID
     */
    @ExcelProperty(value = "父ID")
    @ApiModelProperty(value = "父ID")
    private String parentId;

    /**
     * 启用/禁用 启用1/禁用0
     */
    @ExcelProperty(value = "启用/禁用")
    @ApiModelProperty(value = "启用/禁用 启用1/禁用0")
    private String inUse;

    /**
     * 是否保存 群信息1/规则信息2/临时数据NULL
     */
    private Integer saveOrNot;

    /**
     * 白名单关键字
     */
    @ExcelProperty(value = "白名单关键字")
    @ApiModelProperty(value = "白名单关键字")
    private String whitenameKeyword;
}
